@keyframes mymove {
  0% {
    transform: scale3d(0.5, 0.5, 0.5);
    opacity: 0;
  }
  50% {
    animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
  }
  100% {
    transform: scale3d(1, 1, 1);
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
  }
}
* {
  margin: 0;
  padding: 0;
}
.all {
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: url(../img/chaoshi.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.all .login {
  animation: mymove 0.5s;
  width: 550px;
  height: 350px;
  margin: 100px auto;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 2px 2px 15px 3px black;
}
.all .login h2 {
  height: 60px;
  text-align: center;
  line-height: 60px;
}
.all .login h2::after {
  content: "";
  width: 80%;
  height: 1px;
  display: block;
  margin: 0 auto;
  border-bottom: 1px solid #c0c0c0;
}
.all .login .login-box {
  width: 100%;
  height: auto;
}
.all .login .login-box p {
  margin-top: 30px;
  display: inline-block;
  height: 50px;
  font-size: 20px;
  margin-left: 50px;
  line-height: 50px;
}
.all .login .login-box a {
  color: black;
}
.all .login .login-box a:hover {
  color: #00ccff;
}
.all .login .login-box input {
  outline: none;
  border: 1px solid #c0c0c0;
  padding-left: 10px;
  margin-left: 30px;
  width: 60%;
  height: 40px;
  border-radius: 10px;
}
.all .login .login-box input:focus {
  border: 1px solid #2bb1ff;
}
.all .login .login-box button {
  width: 100px;
  height: 50px;
  color: aliceblue;
  border: none;
  border-radius: 10px;
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 50px;
  background-color: #32b4ff;
}
.all .login .login-box button:hover {
  background-color: #00a2ff;
  cursor: pointer;
}
.all .register {
  animation: mymove 0.5s;
  display: none;
  width: 550px;
  height: 450px;
  margin: 100px auto;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 2px 2px 15px 3px black;
  position: relative;
}
.all .register .back {
  color: #9b9b9b;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 20px;
}
.all .register .back:hover {
  color: black;
  cursor: pointer;
}
.all .register h2 {
  height: 60px;
  text-align: center;
  line-height: 60px;
}
.all .register h2::after {
  content: "";
  width: 80%;
  height: 1px;
  display: block;
  margin: 0 auto;
  border-bottom: 1px solid #c0c0c0;
}
.all .register .register-box {
  width: 100%;
  height: auto;
}
.all .register .register-box p {
  margin-top: 30px;
  display: inline-block;
  height: 50px;
  font-size: 20px;
  margin-left: 50px;
  line-height: 50px;
}
.all .register .register-box input {
  outline: none;
  border: 1px solid #c0c0c0;
  padding-left: 10px;
  margin-left: 30px;
  width: 60%;
  height: 40px;
  border-radius: 10px;
}
.all .register .register-box input:focus {
  border: 1px solid #2bb1ff;
}
.all .register .register-box button {
  width: 100px;
  height: 50px;
  color: aliceblue;
  border: none;
  border-radius: 10px;
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 50px;
  background-color: #32b4ff;
}
.all .register .register-box button:hover {
  background-color: #00a2ff;
  cursor: pointer;
}
